{template "content","header"}



<script type="text/javascript" src="{JS_PATH}member_common.js"></script>



<style>



.submit {



	padding-left: 3px



}







.submit,.submit input {



	background: url({IMG_PATH}member/but.png) no-repeat;



	height: 29px;



	cursor: hand;



}







.submit input {



	background-position: right top;



	border: none;



	padding: 0 10px 0 7px;



	font-size: 14px



}







.reg {



	color: #666;



	line-height: 24px



}







.reg .submit {



	background-position: left -35px;



	height: 35px



}







.reg .submit input {



	background-position: right -35px;



	font-weight: 700;



	color: #fff;



	height: 35px



}



.newest .newestTit a{background-image:none; line-height:25px;}

.zxjrwz{ font:12px "宋体"; color:#404040; font-weight:bold; margin-top:100px; border-bottom:1px #ccc solid; line-height:25px;}

.zxjrwz_text .moreTit a{ font-size:12px; font-weight:normal; text-decoration:underline;color:#001C87;}

.zxjrwz_gd{ text-align:right; line-height:30px;}

.zshyred{ color:#ff0000;}

a.zz_lan{font-size:12px; font-weight:normal; text-decoration:underline;color:#001C87;}

.qtnews{ font-weight:bold;line-height:25px; margin-top:10px;}

.qtnews a{color:#001C87; }

</style>



<!--main-->



<div id="mainbody">



<!--startprint-->



	<div class="essay_left">



        <div class="introduce">



            	<h2 class="introduceTit"><span class="titlename">{$title}</span></h2>



                <ul class="e_newsList">



                	<li><span>{L('author')}：</span><strong>{$username}</strong></li>



                    <li><span>{L('inputtime')}：</span><strong>{$inputtime}</strong></li>



                </ul>



                <p class="valid">{$description}</p>



        </div>



		<div class="newest">



			<h2 class="newestTit">



				<a href="javaScript:void(0)" class="hover">{L('en_text')}</a><a href="javaScript:void(0)">{L('china_text')}</a>



				<a class="print" href="{APP_PATH}?m=content&c=index&a=send_contents_email&catid={$catid}&id={$id}"><em class="dy01"></a></em><em class="dy02" onclick="javascript:doPrint()"></em>



			</h2>



			<div class="content">



				{if $power_content == 1}

			   	{$pcontent}

				{else}
                    {$interpret_content}
			  		

				{/if}	



				<div id="pages" class="text-c">{$pages}</div>

			</div>



			<div class="content hide">{$content}</div>







		</div>

<div style="clear:both;"></div>

    <div class="zxjrwz">最新加入文章</div>

    <div class="zxjrwz_gd"></div>   

    <div class="zxjrwz_text">

                 {pc:content action="lists" catid="$catid" num="10" order="inputtime DESC"  return="data"}

				 {loop $data $key $r}

					<h2 class="contentTit" id="{$key}">{$key}</h2>

					<div class="more">

						{loop $r $v}

						<h2 class="moreTit">

							<a href="{$v[url]}">{$v[title]}</a>

						</h2>

						<ul class="newsList">

							<li><em>作者:</em><span>{$v[username]}</span><strong>{date("Y-m-d",$v[inputtime])}</strong></li>

							<li>{$v[description]}</li>

						</ul>

						{/loop}

				</div>

			    {/loop}

			   					    {/pc}



				 

                					 

            </div>



	</div>



<!--endprint-->



	<div class="essay_right">



		<h2 class="sort">{L('author_questions')}</h2>



		<div style="padding: 5px;">



			<p>



			    {php $usernamecode =urlencode($username) }



				<a href="?m=member&c=index&a=sendemail_author&username={$usernamecode}">向作者{$username}提问</a>



			  	



			</p>



		</div>

 <div class="essay_right">

        <h2 class="sort">最受欢迎的文章</h2>

	         <div class="menu news_update">

	         <ul>

{pc:content action="hits"  num="10" order="views DESC" return="datal"}

	           {loop $datal $key $r}

	             	 <li><a href="{$r[url]}">{$r[title]}</a></li>

	             	 <li>{L('updatetime')}: {date("Y-m-d", $r[updatetime])}</li>

	             	 <li class="mr5 mb5">{L('publish_user')}: {$r[username]}</li>

	               {/loop}

	          {/pc}

	          </ul>

	       	 </div>



		<h2 class="sort">{L('classify')}</h2>
		<div class="menu" id="dateyuer">
		
		</div>
   <script>
      $(function(){
    	  var jsonitem = '';
    	  $.getJSON("{APP_PATH}index.php?m=content&c=index&a=json_list_date&type=keyword&modelid={$modelid}&id={$id}&catid={$catid}",function(data){
  				if(data!=0) {
  				  $.each(data, function(i,item){
  					jsonitem += "<h2 class=\"name1\"><a href='{APP_PATH}/index.php?m=content&c=index&a=lists&catid={$catid}&year="+item+"'>"+item+"</a></h2>";
  					
  				  });
  				} else {
  					jsonitem += '没有找到相关的信息！';
  				}
  				$("#dateyuer").empty().append(jsonitem);
  			})
		   
    	  	
      })
   </script>


	</div>



	<div class="clear"></div>



</div>



<div class="bk10"></div>



{if $repebrow == 3}



	<script>



	        	  $(function(){



	        		  window.top.art.dialog({id:'login'}).close(); 



	        		  window.top.art.dialog({title:'login',id:'login',iframe:'{APP_PATH}index.php?m=member&c=index& a=login&siteid={$siteid}&dialog=login',width:'480',height:'300'}); 



	        		  $(".aui_close").remove();



	        	  })  



        	</script>

	{elseif $repebrow == 2}



	<script>



		     	$(function(){



		     			var html = "<div class=\"reg\">{L('need_buy_read')}<br /><div class=\"submit\"><input type=\"button\" name=\"register\" value=\"{L('buy_read')}\" onclick=\"redirect('{APP_PATH}index.php?m=member&c=index&a=publicreapackage&siteid={$siteid}')\"></div></div>";  



		     			window.top.art.dialog({id:'buyread'}).close(); 



		     			var dialog = art.dialog({title:'Buy and read', id:'buyread', content:html,width:'280',height:'100',  lock: true, dblclick_hide:false}); 



		     			dialog.shake && dialog.shake();



		       		  	$(".aui_close").remove();



		       	 })  



		     </script>



	{elseif empty($_username)}

                	<script>



	        	    setTimeout(showlogin , 120000);



	        	     function showlogin(){

	        		  window.top.art.dialog({id:'login'}).close(); 



	        		  window.top.art.dialog({title:'login',id:'login',iframe:'{APP_PATH}index.php?m=member&c=index& a=login&siteid={$siteid}&dialog=login',width:'480',height:'300'}); }

        	</script>





	{/if}

<!--footer-->







{template "content","footer"}



